
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import elementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'leaflet/dist/leaflet.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import axios from "axios";


const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// axios.defaults.baseURL='http://192.168.18.155:8097'	//正式环境
axios.defaults.baseURL='http://localhost:8097'	//测试环境
// axios.defaults.baseURL='http://localhost:9204'	//RGV测试环境
// axios.defaults.baseURL='http://192.168.12.249:9204'	//RGV测试环境
app.use(createPinia())
app.use(router)
app.use(elementPlus)
app.mount('#app')
